package com.ndood.recruit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import util.IdWorker;

/**
 * A.2.10 进行测试 GET http://localhost:9002/recruit/1
 * A.2.14 进行测试 GET http://localhost:9002/enterprise/search/hotlist
 * A.2.18 进行测试 GET http://localhost:9002/recruit/search/recommend
 * A.2.22 进行测试 GET http://localhost:9002/recruit/search/newlist
 */
/**
 * A.2.8 重命名Application
 */
@SpringBootApplication
public class RecruitApplication {

	public static void main(String[] args) {
		SpringApplication.run(RecruitApplication.class, args);
	}

	@Bean
	public IdWorker idWorkker(){
		return new IdWorker(1, 1);
	}
	
}
